import { boot } from 'quasar/wrappers';
import { initializeApp, FirebaseApp } from 'firebase/app';
const firebaseConfig = {
  apiKey: 'AIzaSyCwfTp6irj42BbX3SO8vH3bk6Bt8b2jRQM',
  authDomain: 'picalog-dev.firebaseapp.com',
  projectId: 'picalog-dev',
  storageBucket: 'picalog-dev.appspot.com',
  messagingSenderId: '692741454741',
  appId: '1:692741454741:web:be7e31005cf1436e7a549c',
};
declare module '@vue/runtime-core' {
  interface ComponentCustomProperties {
    $firebase: FirebaseApp;
  }
}
export default boot(({ app, router, store }) => {
  const firebase = initializeApp(firebaseConfig);
  console.log('Firebase Inited');
  app.config.globalProperties.$firebase = firebase;
});
